
#pragma once

#include "ElementIntegralPostprocessor.h"
#include "MultiVariableInterface.h"
#include "CFDDataPack.h"

class CFDProblem;

using std::vector;

class EnthalpyError :
public ElementIntegralPostprocessor,
public MultiVariableInterface
{
public:
	EnthalpyError(const InputParameters &parameters);
	virtual Real getValue();

protected:
	CFDProblem & _cfd_problem;
	CFDDataPack _cfd_data;
	CFDDataPack _cfd_data_exact;

	virtual Real computeQpIntegral();
};

template<>
InputParameters validParams<EnthalpyError>();
